package com.project.security.dao;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.project.security.model.Users;

public class UsersDao extends SqlSessionDaoSupport implements UsersMapper{

	@Override
	public Users queryByUser(String username) {
		Users user = this.getSqlSession().selectOne("users_queryByUsers", username);
		return user;
	}
	
}
